Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


Update

The Update method updates this facet's canvas by drawing this facet and any of its embedded facets whose clip shape intersects the specified area of the canvas.

void Update (in ODShape invalidShape, 
             in ODCanvas biasCanvas);
invalidShape
A reference to a shape object defining the area of the canvas that needs updating, expressed in frame coordinates.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
When an update event occurs that involves a facet of your part, OpenDoc calls its window's Update method, which in turn calls this method. This method in turn calls the Draw method associated with this facet's part.

SEE ALSO
The ODPart::Draw method (page 505).
The ODWindow::Update method (page 838).
"Printing the Document" on page 174 in OpenDoc Programmer's Guide.
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help